<html><head><title>DirectoryEntryDate</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">DirectoryEntryDate()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>DirectoryEntryDate</b></font>(#Directory, DateType)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Returns the date of the current entry in the directory being listed with <a href="examinedirectory.html">ExamineDirectory()</a> and 
<a href="nextdirectoryentry.html">NextDirectoryEntry()</a> functions. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Directory</i></td>
<td width="90%"> 
The directory examined with <a href="examinedirectory.html">ExamineDirectory()</a>. 

</td></tr>
<tr><td><i>DateType</i></td>
<td> 
The kind of date to return. It can be one of the following values: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Date_Created</font> : returns the file creation date.
  <font color="#924B72">#PB_Date_Accessed</font>: returns the last file access date.
  <font color="#924B72">#PB_Date_Modified</font>: returns the last file modification date.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns the specified date of the current directory entry in the format of the PureBasic <a href="../date/index.html">Date</a> library. 

</blockquote><p><b>Remarks</b></p><blockquote>

On Linux and Mac OSX, the date returned for <font color="#924B72">#PB_Date_Created</font> is the same as the date for 
<font color="#924B72">#PB_Date_Modified</font>, because most file systems do not store a file creation date. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="examinedirectory.html">ExamineDirectory()</a>, 
<a href="nextdirectoryentry.html">NextDirectoryEntry()</a>, 
<a href="directoryentrytype.html">DirectoryEntryType()</a>, 
<a href="directoryentryname.html">DirectoryEntryName()</a>, 
<a href="directoryentrysize.html">DirectoryEntrySize()</a>, 
<a href="directoryentryattributes.html">DirectoryEntryAttributes()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=directoryentryattributes.html>DirectoryEntryAttributes()</a> - <a href="index.html">FileSystem Index</a> - <a href="directoryentryname.html">DirectoryEntryName()</a> -><br><br>

</body></html>